package org.apache.lorry.demo.producer.model;

import com.alibaba.fastjson.JSON;
import lombok.Data;

import java.io.Serializable;

@Data
public class Person implements Serializable {
    private String name;

    private Integer age;

    private Long uId;

    public static void main(String[] args) {
        Person person = new Person();
        person.setAge(1);
        person.setName("name");
        person.setUId(1L);
        System.out.println(JSON.toJSONString(person));
    }
}
